package com.yunxi.sys.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.bizToBaseData.pojo.DictVO;


import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 字典表 服务类
 * </p>
 * @author
 * @since 2019-05-08
 */
public interface DictDubboService {

    DictVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(DictVO dictVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<DictVO> findPageByVO(DictVO dictVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    DictVO loadCas(String dictId);

    void saveBatch(DictVO dictVO);

    void delCas(List<DictVO> dictList);

    List listByType(String type);

    Map listAll();

    List listBySat();
}
